ICCGAME_SDK_GAMES = {
"3064": {
"game_id": 3064,
"game_name": "破天一剑",
"game_category": "角色扮演",
"game_website": "http:\/\/ptyj.iccgame.com\/",
"game_author": "游艺春秋网络科技(北京)有限公司",
"game_description": null,
"game_scores": 8,
"game_downloads": 0,
"game_package_bytes": 423891986,
"game_package_hash": "18fd0b91",
"game_package_builds": [],
"game_package_version": "1.05",
"game_package_compatible": 3,
"game_package_permissions": "ACCESS_NETWORK_STATE, ACCESS_WIFI_STATE, INTERNET, READ_EXTERNAL_STORAGE, READ_PHONE_STATE, RECEIVE_USER_PRESENT, RECORD_AUDIO, SET_ALWAYS_FINISH, SYSTEM_ALERT_WINDOW, VIBRATE, WAKE_LOCK, WRITE_EXTERNAL_STORAGE, WRITE_OWNER_DATA, WRITE_SETTINGS",
"game_package_created": "1492397722",
"game_resources": ["\/3064\/res\/drawable-xhdpi\/icon.png", "\/3064\/res\/drawable-hdpi\/icon.png", "\/3064\/res\/drawable-ldpi\/icon.png", "\/3064\/res\/drawable-xxxhdpi\/icon.png", "\/3064\/res\/drawable-mdpi\/icon.png", "\/3064\/res\/drawable-xxhdpi\/icon.png"],
"game_created": "1462496889"
},
"3053": {
"game_id": 3053,
"game_name": "我的战舰",
"game_category": "沙盒射击",
"game_website": "http:\/\/zj.iccgame.com\/",
"game_author": "游艺春秋网络科技(北京)有限公司",
"game_description": null,
"game_scores": 0,
"game_downloads": 0,
"game_package_bytes": 51601047,
"game_package_hash": "1c9e6f75",
"game_package_builds": [],
"game_package_version": "1.0968",
"game_package_compatible": 14,
"game_package_permissions": "ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION, ACCESS_NETWORK_STATE, ACCESS_WIFI_STATE, BLUETOOTH, BLUETOOTH_ADMIN, BROADCAST_STICKY, CAMERA, CHANGE_NETWORK_STATE, CHANGE_WIFI_STATE, GET_ACCOUNTS, GET_TASKS, INTERNET, MANAGE_ACCOUNTS, MODIFY_AUDIO_SETTINGS, MOUNT_UNMOUNT_FILESYSTEMS, PROCESS_OUTGOING_CALLS, READ_EXTERNAL_STORAGE, READ_PHONE_STATE, RECORD_AUDIO, SYSTEM_ALERT_WINDOW, VIBRATE, WAKE_LOCK, WRITE_EXTERNAL_STORAGE, WRITE_SETTINGS",
"game_package_created": "1483065466",
"game_resources": ["\/3053\/res\/drawable-xhdpi\/icon.png", "\/3053\/res\/drawable-hdpi\/icon.png", "\/3053\/res\/drawable-ldpi\/icon.png", "\/3053\/res\/drawable-xxxhdpi\/icon.png", "\/3053\/res\/drawable-mdpi\/icon.png", "\/3053\/res\/drawable-xxhdpi\/icon.png"],
"game_created": "1460617766"
}
};
jQuery('head title')
.after(
'<link type="text/css" rel="stylesheet" href="http://www.iccgame.com/style/ICCGAME.css" />');
jQuery(function () {
jQuery('#ICCGAME .DropMenu').hover(function () {
jQuery(this).addClass('hover');
}, function () {
jQuery(this).removeClass('hover');
});
jQuery('#ICCGAME a').click(function () {
jQuery(this).blur();
});
jQuery('#ICCGAME address').each(
function () {
jQuery(this).children('a').appendTo(jQuery('<div><\/div>'))
    .appendTo(jQuery(this).html('<em><\/em>'));
        });
        jQuery('#ICC_ads a:first').show();
        var cur = 0, step = 3000, len = jQuery('#ICC_ads a').length, gonext = 1;
        if (len > 0) {
        jQuery('#ICC_ads').hover(function () {
        step = 0;
        gonext = 0;
        }, function () {
        step = 3000;
        gonext = 1;
        });
        setInterval(function () {
        if (gonext && step >= 5000) {
        step = 0;
        cur = ++cur % len;
        jQuery('#ICC_ads a:eq(' + cur + ')').stop(true, true).fadeIn()
        .siblings('a').stop(true, true).fadeOut();
        }
        step += 100;
        }, 100);
        }
        setTimeout(function () {
        jQuery('body').css('background-position', '50% 37px');
        jQuery('#ICCGAME').fadeIn();
        }, 300);
        var Search = window.location.search;
        if (!jQuery.cookie) {
        jQuery.cookie = function (name, value, options) {
        if (typeof value != 'undefined') {
        options = options || {};
        if (value === null) {
        value = '';
        options.expires = -1;
        }
        var expires = '';
        if (options.expires
        && (typeof options.expires == 'number' || options.expires.toUTCString)) {
        var date;
        if (typeof options.expires == 'number') {
        date = new Date();
        date.setTime(date.getTime()
        + (options.expires * 24 * 60 * 60 * 1000));
        } else {
        date = options.expires;
        }
        expires = '; expires=' + date.toUTCString();
        }
        var path = options.path ? '; path=' + options.path : '';
        var domain = options.domain ? '; domain=' + options.domain : '';
        var secure = options.secure ? '; secure' : '';
        document.cookie = [name, '=', encodeURIComponent(value),
        expires, path, domain, secure].join('');
        } else {
        var cookieValue = null;
        if (document.cookie && document.cookie != '') {
        var cookies = document.cookie.split(';');
        for (var i = 0; i < cookies.length; i++) {
        var cookie = jQuery.trim(cookies[i]);
        if (cookie.substring(0, name.length + 1) == (name + '=')) {
        cookieValue = decodeURIComponent(cookie
        .substring(name.length + 1));
        break;
        }
        }
        }
        return cookieValue;
        }
        };
        }
        if (Search) {
        Search = Search.substring(1).split('&');
        for (var i = 0, len = Search.length; i < len; i++) {
        if (Search[i].substring(0, 4) == 'tid=') {
        jQuery.cookie('tid', Search[i].substring(4), {
        'domain': 'iccgame.com',
        'path': '/'
        });
        }
        }
        }
        });

        function addFav(sURL, sTitle) {
        try {
        window.external.addFavorite(sURL, sTitle);
        } catch (e) {
        try {
        window.sidebar.addPanel(sTitle, sURL, "");
        } catch (e) {
        alert("加入收藏失败，请使用Ctrl+D进行添加");
        }
        }
        }

        jQuery('body')
        .prepend(
        jQuery('<div id="ICCGAME"></div>')
        .append(
        '<dl id="ICC_left">'
            + '<dt><a href="http://www.iccgame.com/" target="_blank" class="ICC_icon Icon1">ICC \u6e38\u620f\u5e73\u53f0</a></dt>'
            + '<dd class="DropMenu"><a href="javascript:void(0);" class="ICC_icon Icon2">\u6e38\u620f</a><address style="width:230px;height:125px;">'
                + '<a href="http://pcik.iccgame.com/" target="_blank"><img src="http://file.iccgame.net/20111002/92790bfd788e4.jpg" alt="新破天一剑" /></a><a href="http://cabal.iccgame.com/" target="_blank"><img src="http://www.iccgame.com/resources/style/images/2nd/hot_cabal.jpg" alt="Cabal1.5" /></a><a href="http://knight.iccgame.com/" target="_blank"><img src="http://www.iccgame.com/resources/style/images/2nd/hot_knight.jpg" alt="骑士3.0" /></a><a href="http://silkroad.iccgame.com/index.shtml" target="_blank"><img src="http://www.iccgame.com/resources/style/images/2nd/hot_silkroad.jpg" alt="新丝路" /></a><!--<img src="http://file.iccgame.net/20170418/a3031039e5f85.jpg" alt="英雄王座" /></a>--><!--<a href="http://cabal2.iccgame.com/" target="_blank"><img src="http://file.iccgame.net/20170426/8755c08140095.jpg" alt="惊天动地2" /></a>-->'
                    + '</address></dd><dd class="DropMenu"><a href="javascript:void(0);" class="ICC_icon Icon3">\u624b\u673a\u6e38\u620f</a>'
                + '<address style="width:230px;height:125px;">'
                    + '<a href="http://ptyj.iccgame.com/index.html" target="_blank"><img src="http://file.iccgame.net/20180131/51554bee217a5.jpg" alt="破天一剑手游" /></a><a href="http://sro.iccgame.com/" target="_blank"><img src="http://file.iccgame.net/20181022/42b1da056dcb5.jpg" alt="西域风云" /></a><a href="http://jx.iccgame.com/" target="_blank"><img src="http://file.iccgame.net/20180131/f31cb1fe217a5.jpg" alt="我的战舰" /></a><a href="http://ptsj.iccgame.com/" target="_blank"><img src="http://protals-resource.iccgame.com/iccyxptdy/20210818/4aa327b7784bde17120480999e075e70/16292508187380.png" alt="破天世界" />'
                    + '</address></dd>'
            + '<dd class="DropMenu"><a href="javascript:void(0);" class="ICC_icon Icon9">\u5546\u57ce</a>'
                + '<address style="width:76px;">'
                    + '<a href="http://shop.pcik.iccgame.com/" target="_blank"><img src="http://file.iccgame.net/20111002/92790bfd788e4.jpg" alt="新破天一剑" /></a>'
                    + '</address></dd>'
            + '<dd><a href="http://service.iccgame.com/" target="_blank" class="ICC_icon Icon4">\u5ba2\u670d</a></dd>'
            + '<dd class="DropMenu"><a href="javascript:void(0);" class="ICC_icon Icon5">\u5145\u503c</a>'
                + '<address>'
                    + '<a href="http://payment.iccgame.com/choose/game/100" target="_blank"><img src="http://file.iccgame.net/20111002/92790bfd788e4.jpg" alt="新破天一剑" /></a><a href="http://payment.iccgame.com/choose/game/400" target="_blank"><img src="http://www.iccgame.com/resources/style/images/2nd/hot_cabal.jpg" alt="Cabal1.5" /></a><a href="http://payment.iccgame.com/choose/game/600" target="_blank"><img src="http://www.iccgame.com/resources/style/images/2nd/hot_knight.jpg" alt="骑士3.0" /></a><a href="http://payment.iccgame.com/choose/game/800" target="_blank"><img src="http://www.iccgame.com/resources/style/images/2nd/hot_silkroad.jpg" alt="新丝路" /></a>'
                    + '</address>'
                + '</dd></dl>'
        + '<dl id="ICC_right"><dt id="ICC_ads">'
            + '<a href="http://ptyj.iccgame.com/index.html" target="_blank"><img src="http://file.iccgame.net/20180212/cdb604e8618a5.jpg" alt="破天一剑手游" /></a>'

            <!-- + '<a href="http://sro.iccgame.com/content-83-793.html" target="_blank"><img src="http://file.iccgame.net/20180726/dc5a2196395b5.jpg" alt="新丝路" /></a>'-->

          

            + '<a href="http://pcik.iccgame.com/activity/2022112newserver/index.html" target="_blank"><img src="http://protals-resource.iccgame.com/xptyjdy/20220113/278ddf37050bec7066035e3f84b830c7/219x31.jpg" alt="新破天一剑" /></a>'

            + '<a href="http://ptyj.iccgame.com/content-33-10639.html" target="_blank"><img src="http://file.iccgame.net/20181219/034393c3e91c5.jpg" alt="新破天一剑" /></a>'

            <!--            + '<a href="http://cabal.iccgame.com/zt/18springfestival/" target="_blank"><img src="http://file.iccgame.net/20180207/31f34593ca7a5.jpg" alt="Cabal1.5" /></a>'-->
            <!--            + '<a href="http://silkroad.iccgame.com/zt/171227festivals/index.shtml" target="_blank"><img src="http://file.iccgame.net/20171228/9838ed90c44a5.jpg" alt="新丝路" /></a>'-->
            <!-- + '<a href="http://sro.iccgame.com/" target="_blank"><img src="http://file.iccgame.net/20180118/4c0d0f0e306a5.jpg" alt="全民丝路" /></a>'-->
            + '<a href="http://knight.iccgame.com/zt/171206christmas/" target="_blank"><img src="http://file.iccgame.net/20171222/d8df69399c3a5.jpg" alt="骑士3.0" /></a></dt>'
            + '<dd><a href="http://passport.iccgame.com/register?returnUrl=/" target="_blank" class="ICC_icon Icon6">\u6ce8\u518c</a></dd>'
            + '<dd><a href="http://passport.iccgame.com/login?returnUrl=/" target="_blank" class="ICC_icon Icon7">\u767b\u5f55</a></dd>'
            + '<dd class="last"></dd></dl>').hide());

        jQuery(function () {
        setTimeout(function () {
        var re = /<meta.*charset=([^"]+).*?>/i;
        if (document.documentElement.innerHTML.match(re)[1] == 'gb2312') {
        jQuery("#ICCGAME a.Icon3").attr('href', 'http://www.iccgame.com/game_assistant.html');
        jQuery("#ICC_left .top_mm").hide();
        } else {
        // jQuery("#ICC_left .top_mm").html(' ');
        var SDK_HTML = '<em></em>';
        var c = 0;
        for (var i in ICCGAME_SDK_GAMES) {
        if (++c >= 12) break;
        if (ICCGAME_SDK_GAMES[i] instanceof Object) {
        if (ICCGAME_SDK_GAMES[i].game_id != '' && ICCGAME_SDK_GAMES[i].game_name != '') {
        SDK_HTML += '<a href="' + ICCGAME_SDK_GAMES[i].game_website + '" target="_blank" >' + ICCGAME_SDK_GAMES[i].game_name + '</a>';
        }
        }
        }
        //SDK_HTML += '<a href="http://www.iccgame.com/game_assistant.html" target="_blank" >'+'更多'+'</a>';
        // jQuery("#ICC_left .top_mm").append(SDK_HTML);
        }
        }, 1);
        })